home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 5 / Skunkware 5.iso / src / Games / ms-0.07 / lib / Makefile < prev    next >
Encoding:
Makefile  |  1995-06-27  |  770 b   |  38 lines

  1. #
  2. # Makefile for MandelSpawn library
  3. #
  4. # This doesn't use Imake because it isn't an X program.
  5. #
  6. # You may have to remove one or more of the following from DEFINES:
  7. #
  8. #  -DHAVE_SOCKETS      if you don't have sockets
  9. #  -DHAVE_SELECT      if you don't have select()
  10. #
  11. # If your machine lacks strdup(), add -DNO_STRDUP to DEFINES.
  12. #
  13.  
  14. DEFINES=-DHAVE_SOCKETS -DHAVE_SELECT 
  15.  
  16. CFLAGS=$(DEFINES)
  17.  
  18. RANLIB=true
  19.  
  20. LIB=libms.a
  21. OBJS=cmap.o parse.o work.o mspawn.o io.o strdup.o
  22.  
  23. $(LIB): $(OBJS)
  24.     ar rvl $(LIB) $(OBJS)
  25.     $(RANLIB) $(LIB)
  26.  
  27. cmap.o: cmap.c color.h
  28. parse.o: parse.c colors.c color.h
  29. work.o: work.c work.h datarep.h ms_ipc.h ms_real.h io.h inet.h
  30. mspawn.o: mspawn.c mspawn.h datarep.h ms_ipc.h inet.h ms_job.h
  31. io.o: io.c io.h
  32.  
  33. clean:
  34.     rm -f *.o *~
  35.  
  36. spotless: clean
  37.     rm -f $(LIB)
  38.